package com.shenmazong.demo1907amongo.service;

import com.shenmazong.demo1907amongo.pojo.TbBlog;
import com.shenmazong.demo1907amongo.utils.ResultResponse;
import com.shenmazong.demo1907amongo.vo.KeyWordVo;
import com.shenmazong.demo1907amongo.vo.PageVo;

public interface ITbBlogService {
    ResultResponse list(PageVo pageVo);

    ResultResponse del(Integer blogId);

    ResultResponse add(TbBlog tbBlog);

    ResultResponse getBlogById(Integer id);

    ResultResponse updateBlogById(TbBlog tbBlog);

    ResultResponse getBlogByKeyword(KeyWordVo keyWord);
}
